package cn.hchaojie.camp.week1.qa;

public class Teacher {
	private String name;
	private int age;
	
	private String content;
	
	public void eat() {
		System.out.printf("年龄为%d的%s老师正在吃饭\n", getAge(), getName());
	}
	
	public void teach() {
		System.out.printf("年龄为%d的%s老师正在亢奋的讲着%s\n", getAge(), getName(), getContent());
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "Teacher [name=" + name + ", age=" + age + ", content=" + content + "]";
	}
}
